<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/7
 * Time: 16:13
 */
Route::post('login', 'LoginController@login');  // 登录
Route::any('index_getWapToken', 'MediaController@getWapUploadToken');       //获取网页端OSS上传token
Route::any('confirm_upload', 'MediaController@ConfirmUpload');       //确认上传封面
Route::any('videoUpload', 'MediaController@VideoUpload');       //确认上传视频
Route::post('mediaUpload', 'MediaController@mediaUpload'); // 视频上传
Route::any('musicUpload', 'MediaController@MusicUpload'); //音乐上传
Route::any('delmedia', 'MediaController@DelMedia'); // 视频删除
Route::any('editShareholder', 'ManageController@EditShareholder');//股东信息修改
Route::any('AddShareholder', 'ManageController@AddShareholder');//添加股东信息
Route::any('delreport', 'MediaController@DelReport'); // 视频举报删除
Route::any('editmember', 'ManageController@EditMember');//修改会员
Route::middleware(['apiSignVerify', 'adminToken'])->group(function(){
    Route::any('role', 'AdminController@roleList'); // 角色列表
    Route::post('editRole', 'AdminController@editRolePermission'); // 编辑角色及权限
    Route::any('permission', 'AdminController@permissionList');  // 权限列表
    Route::any('logout', 'CommonController@logout');  // 登出

    Route::any('managerlist', 'ManageController@index');//管理列表
    Route::any('Adminadduser', 'ManageController@AddUser');//添加管理员
    Route::any('modifyuser', 'ManageController@ModifyUser');//修改管理员
    Route::any('applink', 'SystemController@index');//APP链接列表
    Route::any('modifylink', 'SystemController@modifylink');//修改APP链接
    Route::any('about', 'SystemController@about');//公司简介
    Route::any('mofifyabout', 'SystemController@UpdateAbout');//公司简介修改
    Route::any('reportlist', 'SystemController@Reporttype');//举报栏目列表
    Route::any('addreport', 'SystemController@addReport');//添加举报栏目
    Route::any('delreport_column', 'SystemController@DelReport');//删除举报栏目
    Route::any('movielength', 'SystemController@MovieLength');//影片时长
    Route::any('modifymovielength', 'SystemController@mofifyMlength');//修改影片时长
    Route::any('tagslist', 'TagsController@index');//标签栏目列表
    Route::any('addtags', 'TagsController@AddTags');//添加标签栏目
    Route::any('modifyTags', 'TagsController@ModifyTags');//修改标签栏目
    Route::any('delTags', 'TagsController@DelTags');//删除标签栏目


    Route::any('logs', 'AdminController@log');  // 操作日志

    Route::any('media', 'MediaController@mediaList');  // 媒体列表
    Route::any('details', 'MediaController@details');  // 视频详情
    Route::any('checkupmedia', 'MediaController@checkupList'); // 待审核视频列表
    Route::any('reasons', 'MediaController@AuditReasons'); // 审核不通过原因列表
    Route::any('notthrough', 'MediaController@NotThrough'); // 审核不通过视频列表
    Route::post('verify', 'MediaController@changeStatus'); // 审核视频
    Route::any('report', 'MediaController@getReport'); // 视频举报列表
    Route::any('enablemedia', 'MediaController@MediaEnable'); // 视频启用禁用

    Route::any('reportdetails', 'MediaController@ReportDetails'); // 视频举报详情
    Route::any('comment', 'MediaController@getComment'); // 视频评论列表

    Route::post('deleteComment', 'MediaController@deleteComment'); // 删除评论
    Route::any('index_getToken', 'MediaController@getUploadToken');//获取Oss上传token
    Route::any('musiclist', 'MediaController@MusicList');//音乐列表
    Route::any('musictype', 'MediaController@MusicType');//音乐类别
    Route::any('musicenable', 'MediaController@Enable'); //音乐启用不启用
    Route::any('delmusic', 'MediaController@DelMusic'); //音乐删除
    Route::any('updatesort', 'MediaController@UpdateSort'); //音乐排序修改
    Route::any('AddMusictype', 'MediaController@AddMusicType'); //添加音乐类别
    Route::any('DelMusictype', 'MediaController@DelMusicType'); //删除音乐类别
    Route::any('musictypedetails', 'MediaController@MusicDetails'); //音乐类别详情
    Route::any('musictypesorting', 'MediaController@MusicSorting'); //音乐类别排序修改

    Route::any('userList', 'UserController@lists');  //用户列表
    Route::any('userdetails', 'UserController@details');  //用户详情
    Route::any('artnerllist', 'UserController@artnerlLists');//用户列表
    Route::any('Artnerldata', 'UserController@ArtnerlData');//添加股东用户列表
    Route::any('addartner', 'UserController@Addartnerl');//添加股东
    Route::any('deluser', 'UserController@DelUser');//删除用户
    Route::any('reportuserList', 'UserController@ReportUserList');//举报用户列表
    Route::any('reportuser', 'UserController@ReportUser');//举报用户详情

    Route::any('AdminArtnerllist', 'ManageController@AdminShareholderList');//后台股东管理列表
    Route::any('SingleShareholder', 'ManageController@SingleShareholder');//股东详情

    Route::any('delShareholder', 'ManageController@DelShareholder');//删除股东信息
    Route::any('shareholderLgo', 'ManageController@ShareholderLgo');//删除股金变更日志
    Route::any('registeredcapital', 'ManageController@RegisteredCapital');//删除股金变更日志

    Route::any('membership_list', 'ManageController@MembershipList');//会员列表
    Route::any('addmember', 'ManageController@AddMember');//添加会员

    Route::any('delmember', 'ManageController@DelMember');//删除列表
    Route::any('memberdetails', 'ManageController@MembereDtails');//会员列表详情
    Route::any('Shareholder_Export', 'ManageController@ShareholderExport');//股东导出excel
    Route::any('membership_Export', 'ManageController@MembershipExport');//会员导出excel


    Route::any('adduser', 'UserController@AddUser');//添加用户
    Route::any('loweruser', 'UserController@LowerUser');//管理员的下级用户账号
    Route::any('loweruser', 'UserController@LowerUser');//管理员的下级用户账号
    Route::any('binding_list', 'UserController@BindingList');//账号绑定列表
    Route::any('binding_account', 'UserController@BindingAccount');//账号绑定
    Route::any('search_account', 'UserController@SearchAccount');//账号绑定-会员搜索
});
